import React from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { Card } from 'antd'
import Chunk from '../components/chunk'
import { data } from '../data'

export default () => {

    const dataList: data[] = [
        { title: "社区团购", desc: "社区团购营销", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/community_buy.png", status: "pending" },
        { title: "扫码收款", desc: "扫码收款", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/cashier.png", status: "pending" },
        { title: "店铺预约", desc: "店铺预约", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/appointment.png", status: "pending" },
        { title: "商品分销", desc: "商品分销", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/fenxiao.png", status: "pending" },
        { title: "任务管理", desc: "会员完成任务奖励", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/missioncenter.png", status: "pending" },

    ];
    return (
        <PageHeaderWrapper title={false}>
            <Card>
                <Chunk dataList={dataList} navTitle="营销工具" />
            </Card>
        </PageHeaderWrapper>
    )
}